home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #14
/
Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO
/
netmail
/
blueq160.zip
/
SR140.ZIP
/
PACKER.BAT
next >
Wrap
DOS Batch File
|
1996-01-08
|
939b
|
58 lines
@echo off
rem packer compress.exe reply_fname internals
if (%1)==(PKZIP) goto PK
if (%1)==(PKPAK) goto PKPAK
if (%1)==(LHA) goto LHA
if (%1)==(ARJ) goto ARJ
:PK
if (%5)==() goto PACK
md BQWRK >nul
copy %5 BQWRK >nul
del %5 >nul
blueqwk %4 rep-bw .\ .\BQWRK\
cls
%1 %2 %3 %4 BQWRK\*.* %6 %7 %8 %9
goto CLEANUP
:PKPAK
if (%4)==() goto PACK
md BQWRK >nul
copy %4 BQWRK >nul
del %4 >nul
blueqwk %3 rep-bw .\ .\BQWRK\
cls
%1 %2 %3 BQWRK\*.* %5 %6 %7 %8 %9
goto CLEANUP
:ARJ
if (%7)==() goto PACK
md BQWRK >nul
copy %7 BQWRK >nul
del %7 >nul
blueqwk %6 rep-bw .\ .\BQWRK\
cls
%1 %2 %3 %4 %5 %6 BQWRK\*.* %8 %9
goto CLEANUP
:LHA
if (%5)==() goto PACK
md BQWRK >nul
copy %5 BQWRK >nul
del %5 >nul
blueqwk %4 rep-bw .\ .\BQWRK\
cls
%1 %2 %3 %4 BQWRK\*.* %6 %7 %8 %9
goto CLEANUP
:CLEANUP
for %%a in (BQWRK\*.*) do del %%a
rd BQWRK >nul
goto END
:PACK
%1 %2 %3 %4 %5 %6 %7 %8 %9
:END